﻿namespace AnyOffice.Model
{
    using System;

    public class RmsFileData
    {
        protected DateTime _addTime = DateTime.Now;
        protected string _addUser = string.Empty;
        protected object _attachmentId;
        protected int _borrow;
        protected int _borrowStatus;
        protected int _confirmStatus;
        protected object _confirmUser;
        protected object _delTime;
        protected object _delUser;
        protected string _fileCode = string.Empty;
        protected int _fileId = -1;
        protected object _fileKind;
        protected object _filePage;
        protected object _fileSubject;
        protected string _fileTitle = string.Empty;
        protected object _fileTitle0;
        protected object _fileType;
        protected object _modTime;
        protected object _modUser;
        protected object _printPage;
        protected object _remark;
        protected object _rollId;
        protected object _secret;
        protected object _sendDate;
        protected object _sendUnit;
        protected object _urgency;

        public DateTime AddTime
        {
            get
            {
                return this._addTime;
            }
            set
            {
                this._addTime = value;
            }
        }

        public string AddUser
        {
            get
            {
                return this._addUser;
            }
            set
            {
                this._addUser = value;
            }
        }

        public string AttachmentId
        {
            get
            {
                return (string) this._attachmentId;
            }
            set
            {
                this._attachmentId = value;
            }
        }

        public bool AttachmentIdIsNull
        {
            get
            {
                return (this._attachmentId == null);
            }
            set
            {
                if (value)
                {
                    this._attachmentId = null;
                }
            }
        }

        public int Borrow
        {
            get
            {
                return this._borrow;
            }
            set
            {
                this._borrow = value;
            }
        }

        public int BorrowStatus
        {
            get
            {
                return this._borrowStatus;
            }
            set
            {
                this._borrowStatus = value;
            }
        }

        public int ConfirmStatus
        {
            get
            {
                return this._confirmStatus;
            }
            set
            {
                this._confirmStatus = value;
            }
        }

        public string ConfirmUser
        {
            get
            {
                return (string) this._confirmUser;
            }
            set
            {
                this._confirmUser = value;
            }
        }

        public bool ConfirmUserIsNull
        {
            get
            {
                return (this._confirmUser == null);
            }
            set
            {
                if (value)
                {
                    this._confirmUser = null;
                }
            }
        }

        public DateTime DelTime
        {
            get
            {
                return (DateTime) this._delTime;
            }
            set
            {
                this._delTime = value;
            }
        }

        public bool DelTimeIsNull
        {
            get
            {
                return (this._delTime == null);
            }
            set
            {
                if (value)
                {
                    this._delTime = null;
                }
            }
        }

        public string DelUser
        {
            get
            {
                return (string) this._delUser;
            }
            set
            {
                this._delUser = value;
            }
        }

        public bool DelUserIsNull
        {
            get
            {
                return (this._delUser == null);
            }
            set
            {
                if (value)
                {
                    this._delUser = null;
                }
            }
        }

        public string FileCode
        {
            get
            {
                return this._fileCode;
            }
            set
            {
                this._fileCode = value;
            }
        }

        public int FileId
        {
            get
            {
                return this._fileId;
            }
            set
            {
                this._fileId = value;
            }
        }

        public string FileKind
        {
            get
            {
                return (string) this._fileKind;
            }
            set
            {
                this._fileKind = value;
            }
        }

        public bool FileKindIsNull
        {
            get
            {
                return (this._fileKind == null);
            }
            set
            {
                if (value)
                {
                    this._fileKind = null;
                }
            }
        }

        public string FilePage
        {
            get
            {
                return (string) this._filePage;
            }
            set
            {
                this._filePage = value;
            }
        }

        public bool FilePageIsNull
        {
            get
            {
                return (this._filePage == null);
            }
            set
            {
                if (value)
                {
                    this._filePage = null;
                }
            }
        }

        public string FileSubject
        {
            get
            {
                return (string) this._fileSubject;
            }
            set
            {
                this._fileSubject = value;
            }
        }

        public bool FileSubjectIsNull
        {
            get
            {
                return (this._fileSubject == null);
            }
            set
            {
                if (value)
                {
                    this._fileSubject = null;
                }
            }
        }

        public string FileTitle
        {
            get
            {
                return this._fileTitle;
            }
            set
            {
                this._fileTitle = value;
            }
        }

        public string FileTitle0
        {
            get
            {
                return (string) this._fileTitle0;
            }
            set
            {
                this._fileTitle0 = value;
            }
        }

        public bool FileTitle0IsNull
        {
            get
            {
                return (this._fileTitle0 == null);
            }
            set
            {
                if (value)
                {
                    this._fileTitle0 = null;
                }
            }
        }

        public string FileType
        {
            get
            {
                return (string) this._fileType;
            }
            set
            {
                this._fileType = value;
            }
        }

        public bool FileTypeIsNull
        {
            get
            {
                return (this._fileType == null);
            }
            set
            {
                if (value)
                {
                    this._fileType = null;
                }
            }
        }

        public DateTime ModTime
        {
            get
            {
                return (DateTime) this._modTime;
            }
            set
            {
                this._modTime = value;
            }
        }

        public bool ModTimeIsNull
        {
            get
            {
                return (this._modTime == null);
            }
            set
            {
                if (value)
                {
                    this._modTime = null;
                }
            }
        }

        public string ModUser
        {
            get
            {
                return (string) this._modUser;
            }
            set
            {
                this._modUser = value;
            }
        }

        public bool ModUserIsNull
        {
            get
            {
                return (this._modUser == null);
            }
            set
            {
                if (value)
                {
                    this._modUser = null;
                }
            }
        }

        public string PrintPage
        {
            get
            {
                return (string) this._printPage;
            }
            set
            {
                this._printPage = value;
            }
        }

        public bool PrintPageIsNull
        {
            get
            {
                return (this._printPage == null);
            }
            set
            {
                if (value)
                {
                    this._printPage = null;
                }
            }
        }

        public string Remark
        {
            get
            {
                return (string) this._remark;
            }
            set
            {
                this._remark = value;
            }
        }

        public bool RemarkIsNull
        {
            get
            {
                return (this._remark == null);
            }
            set
            {
                if (value)
                {
                    this._remark = null;
                }
            }
        }

        public int RollId
        {
            get
            {
                return (int) this._rollId;
            }
            set
            {
                this._rollId = value;
            }
        }

        public bool RollIdIsNull
        {
            get
            {
                return (this._rollId == null);
            }
            set
            {
                if (value)
                {
                    this._rollId = null;
                }
            }
        }

        public string Secret
        {
            get
            {
                return (string) this._secret;
            }
            set
            {
                this._secret = value;
            }
        }

        public bool SecretIsNull
        {
            get
            {
                return (this._secret == null);
            }
            set
            {
                if (value)
                {
                    this._secret = null;
                }
            }
        }

        public DateTime SendDate
        {
            get
            {
                return (DateTime) this._sendDate;
            }
            set
            {
                this._sendDate = value;
            }
        }

        public bool SendDateIsNull
        {
            get
            {
                return (this._sendDate == null);
            }
            set
            {
                if (value)
                {
                    this._sendDate = null;
                }
            }
        }

        public string SendUnit
        {
            get
            {
                return (string) this._sendUnit;
            }
            set
            {
                this._sendUnit = value;
            }
        }

        public bool SendUnitIsNull
        {
            get
            {
                return (this._sendUnit == null);
            }
            set
            {
                if (value)
                {
                    this._sendUnit = null;
                }
            }
        }

        public string Urgency
        {
            get
            {
                return (string) this._urgency;
            }
            set
            {
                this._urgency = value;
            }
        }

        public bool UrgencyIsNull
        {
            get
            {
                return (this._urgency == null);
            }
            set
            {
                if (value)
                {
                    this._urgency = null;
                }
            }
        }
    }
}

